export default {
	data() {

	},
	methods: {

	},
	onLoad() {
		this.workshopList = getApp().globalData.defaultWorkshop.list;
		if (!this.searchParams.workshopId) {
			this.$set(this.searchParams, 'workshopId', getApp().globalData.defaultWorkshop.id);
			this.$set(this.searchParams, 'workshopName', getApp().globalData.defaultWorkshop.name);
		}
	},
	onShow() {
		this.workshopList = getApp().globalData.defaultWorkshop.list;
		if (!this.searchParams.workshopId) {
			this.$set(this.searchParams, 'workshopId', getApp().globalData.defaultWorkshop.id);
			this.$set(this.searchParams, 'workshopName', getApp().globalData.defaultWorkshop.name);
		}
	},
}
